package com.yociyy.admin.model.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 系统-角色和菜单关联表
 * 
 * @author Y.yang
 * @date 2019-12-05
 */
@Table(name = "base_role_menu")
@Data
@Accessors(chain = true)
public class BaseRoleMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @Id
    private Long roleId;

    /**
     * 菜单ID
     */
    @Column(name = "menu_id")
    private Long menuId;
}
